home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1991 / Jan 91 / MacApp.Tech$ 1⁄4⁄91 / 2562-Redrawing in TEditTe-Dec90 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.0 KB  |  30 lines  |  [TEXT/GEOL]

  1. Item    3230132                         29-Dec-90        22:43PST
  2.  
  3. From:   D2188                           Office Product Tech, B Toback,PRT
  4.  
  5. To:     MACAPP.TECH$                    MacApp Technical
  6.  
  7. Item forwarded by       NEIL.RHODES  to CALLIOPE 
  8.  
  9. ------------------------------------------------------------------------------
  10.  
  11. Sub:    Redrawing in TEditText
  12.  
  13. When does kRedraw not mean kRedraw? I've been trying to get a TEditText item to
  14. redraw itself after SetText() and SetSelection(). The selection is properly
  15. redrawn after the SetText(), but not after the SetSelection. (Originally, I did
  16. a SetText(..., kNoRedraw) followed by SetSelection(0, 32767, kRedraw. Under
  17. those circumstances, the text was never redrawn.)
  18.  
  19. I know the text is supposed to be what I think it's supposed to be because the
  20. debugger (The Debugger) says so. I can even trace all the way down to the
  21. actual TextEdit call, and it all looks OK. I'm calling Focus before doing any
  22. drawing. What can be happening?
  23.  
  24. Any help would be greatly appreciated.
  25.  
  26. Thanks,
  27. Bruce Toback
  28. D2188
  29.  
  30.